/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-04-21
 * Time: 18:41
 */

//折叠手机继承 了 抽象的Phone
public class FoldedPhone extends Phone{

    //手机样式

    //构造器
    public FoldedPhone(Brand brand){
        super(brand);
    }

    public void open(){
        super.open();
        System.out.println("折叠样式手机");
    }

    public void close(){
        super.close();
        System.out.println("折叠样式的是手机");
    }

    public void call(){
        super.call();
        System.out.println("折叠样式的手机");
    }
}
